App.tsx ➔ App   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 19
Code Lines 18

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 18
dl 0
loc 19
c 0
b 0
f 0
rs 9.5
cc 1
1
import React from 'react';
2
import logo from './logo.svg';
3
import styles from './App.module.css';
4
5
console.log(
6
  //@ts-expect-error Property 'NoSuchClass' does not exist
7
  styles.NoSuchClass
8
)
9
10
function App() {
11
  return (
12
    <div className={styles.App}>
13
      <header className={styles["App-header"]}>
14
        <img src={logo} className={styles["App-logo"]} alt="logo" />
15
        <p>
16
          Edit <code>src/App.tsx</code> and save to reload.
17
        </p>
18
        <a
19
          className={styles["App-link"]}
20
          href="https://reactjs.org"
21
          target="_blank"
22
          rel="noopener noreferrer"
23
        >
24
          Learn React
25
        </a>
26
      </header>
27
    </div>
28
  );
29
}
30
31
export default App;
32